Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use context manager to open and close nc file #88

Merged
merged 2 commits into from
Nov 3, 2024
Merged

Conversation

chrowe
Copy link
Contributor

@chrowe chrowe commented Oct 31, 2024

Fix for PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'download_0.nc' on Windows.

per pydata/xarray#1629

@chrowe chrowe requested a review from weiqi-tori October 31, 2024 22:20
@weiqi-tori weiqi-tori merged commit 84647e9 into main Nov 3, 2024
1 check passed
@weiqi-tori weiqi-tori deleted the bugfix/close_nc branch November 3, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants